package com.ruoyi.ResDishes.domain;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class ResDishes {

    @ApiModelProperty("编号")
    private Long id;
    @ApiModelProperty("菜品名称")
    private String name;
    @ApiModelProperty("菜品图片")
    private String pic;
    @ApiModelProperty("菜品描述")
    private String description;
    @ApiModelProperty("菜品价格")
    private String price;
    @ApiModelProperty("菜品分类")
    private String category;
    @ApiModelProperty("所属店铺id")
    private int shop_id;
    @ApiModelProperty("创建者")
    private String create_by;
    @ApiModelProperty("创建时间")
    private Date create_time;
    @ApiModelProperty("更新者")
    private String update_by;
    @ApiModelProperty("更新时间")
    private Date update_time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getShop_id() {
        return shop_id;
    }

    public void setShop_id(int shop_id) {
        this.shop_id = shop_id;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString(){
        return "resDishes{" +
                "id=" + id +
                ", name ='" + name + '\'' +
                ", pic ='" + pic + '\'' +
                ", description ='" + description + '\'' +
                ", price=" + price +
                ", category='" + category + '\'' +
                ", shop_id=" + shop_id +
                ", create_by='" + create_by + '\'' +
                ", create_time=" + create_time +
                ", update_by='" + update_by + '\'' +
                ", update_time=" + update_time +
                '}';
    }
}
